Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more symbols in rustdoc #80047

Merged
merged 2 commits into from
Dec 17, 2020
Merged

Use more symbols in rustdoc #80047

merged 2 commits into from
Dec 17, 2020

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Dec 15, 2020

Builds on #80044 and should not be merged before.

I want to test if this is actually faster before merging it, there was a lot of to_string() calls so I'm not sure it will actually help. That means I have to wait for 80044 to get merged before running perf.

r? @ghost

@jyn514 jyn514 added C-cleanup Category: PRs that clean code up or issues documenting cleanup. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. labels Dec 15, 2020
`crate.name` is already set by `tcx.crate_name`, there's no need to
override it.
@jyn514
Copy link
Member Author

jyn514 commented Dec 16, 2020

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@bors
Copy link
Contributor

bors commented Dec 16, 2020

⌛ Trying commit 7ee8e18 with merge af8283101a3e4aa82fbf6b6a660fe105a85c9297...

@bors
Copy link
Contributor

bors commented Dec 16, 2020

☀️ Try build successful - checks-actions
Build commit: af8283101a3e4aa82fbf6b6a660fe105a85c9297 (af8283101a3e4aa82fbf6b6a660fe105a85c9297)

@rust-timer
Copy link
Collaborator

Queued af8283101a3e4aa82fbf6b6a660fe105a85c9297 with parent 4031f7b, future comparison URL.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Dec 16, 2020
@jyn514 jyn514 removed the S-blocked Status: Marked as blocked ❌ on something else such as an RFC or other implementation work. label Dec 16, 2020
@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (af8283101a3e4aa82fbf6b6a660fe105a85c9297): comparison url.

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying rollup- to bors.

Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Dec 16, 2020
@jyn514
Copy link
Member Author

jyn514 commented Dec 16, 2020

Both instruction counts and max-rss look like noise. @GuillaumeGomez said he was working on converting even more strings to symbols, maybe that will combine well? I don't feel super strongly about whether this lands.

bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 17, 2020
Replace String with Symbol where possible

The same as rust-lang#80047 but on different types. Might be interesting to run some perf comparison.

r? `@jyn514`
@GuillaumeGomez
Copy link
Member

Let's get this in as well! Thanks!

@bors: r+ rollup

@bors
Copy link
Contributor

bors commented Dec 17, 2020

📌 Commit 7ee8e18 has been approved by GuillaumeGomez

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 17, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 17, 2020
…laumeGomez

Rollup of 5 pull requests

Successful merges:

 - rust-lang#80006 (BTreeMap: more expressive local variables in merge)
 - rust-lang#80022 (BTreeSet: simplify implementation of pop_first/pop_last)
 - rust-lang#80035 (Optimization for bool's PartialOrd impl)
 - rust-lang#80040 (Always run intrinsics lowering pass)
 - rust-lang#80047 (Use more symbols in rustdoc)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@jyn514
Copy link
Member Author

jyn514 commented Dec 17, 2020

@GuillaumeGomez anything that affects perf should not be rolled up, it means you can't find which PRs had an impact and it mask regressions.

@bors bors merged commit 5873fe8 into rust-lang:master Dec 17, 2020
@GuillaumeGomez
Copy link
Member

Arf indeed... The rollup=never got overwritten I guess. Not great and bad PR handling on my side... :-/

@rustbot rustbot added this to the 1.50.0 milestone Dec 17, 2020
@jyn514 jyn514 deleted the more-symbols branch December 17, 2020 15:03
@jyn514
Copy link
Member Author

jyn514 commented Dec 17, 2020

It's ok, fortunately this one didn't have much of an impact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants